home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
LOGIC Apps
/
Logic-APPLE_II_APPS.iso
/
mac
/
LOGIC Apple II 5.25" Library - ProDOS 8
/
P8S007A.dsk
/
PRINTCOMP.bas
< prev
next >
Wrap
BASIC Source File
|
2012-02-16
|
651b
|
21 lines
10 HOME
30 PRINT CHR$(4);"OPEN NUMCOMP,L20"
35 FOR I = 1 TO 3
40 PRINT CHR$(4);"READ NUMCOMP,R"I
43 INPUT I(I)
45 NEXT I
50 PRINT CHR$(4);"CLOSE NUMCOMP"
60 PRINT "Apple IIE ";I(1)
70 PRINT "Apple IIGS ";I(2)
80 PRINT "Apple IIC ";I(3)
90 VTAB 6: PRINT "Wipe OUT data? (Y/N)"
100 VTAB 6: HTAB 22: GET A$: PRINT A$
110 IF A$ = "N" OR A$ = "n" THEN NEW
120 IF A$ < >"Y" AND A$ < >"y" THEN PRINT CHR$(7): GOTO 90
130 PRINT CHR$(4);"OPEN NUMCOMP,L20"
140 FOR I = 1 TO 3
150 PRINT CHR$(4);"WRITE NUMCOMP,R"I
160 PRINT 0
170 NEXT I
180 PRINT CHR$(4);"CLOSE NUMCOMP"
190 POKE -16368,0: REM CLEAR KEYBOARD BUFFER OF 'P'